package com.woniuxy.crm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 产品表
 * </p>
 *
 * @author 郑鹏
 */
@Getter
@Setter
@TableName("crm_product")
@Schema(description = "Product对象")
public class Product extends BaseEntity{

    private static final long serialVersionUID = 1L;

    @Schema(description = "产品名")
    private String name;

    @Schema(description = "产品类型id")
    private Integer categoryId;

    @Schema(description = "库存")
    private Integer stock;

    @Schema(description = "价格")
    private BigDecimal price;

    @Schema(description = "图片地址")
    private String image;

    @Schema(description = "备注")
    private String remark;




}